<?php

class AdminModule extends CWebModule
{
	public $defaultController = 'dashboard';
	
	public $urls = array(
		'base'        => array('/admin'),
		'default'     => array('/admin/dashboard/index'),
		'translation' => array('/admin/translation/index'),
	);
	
	public function init()
	{
		// this method is called when the module is being created
		// you may place code here to customize the module or the application

		// import the module-level models and components
		$this->setImport(array(
			'admin.models.*',
			'admin.components.*',
		));
	}

	public static function t($string = '', $params = array(), $dictionary = 'AdminModule.core')
	{
		return Yii::t($dictionary, $string, $params);
	}
	
}
